*{
    margin: 0;
    padding: 0;
}
body{
    background-color: #e5e5e5;
}
ul{
    width: 1200px;
    min-height: 300px;
    margin: 20px auto;
    overflow: hidden;
}
ul li{
    list-style: none;
    width: 236px;
    height: 304px;
    background-color: #fff;
    float: left;
    margin: 20px;
    padding: 15px;
}
ul li .pic{
    height: 180px;
    position: relative;
}
ul li .pic img{
    width: 160px;
    height: 160px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
ul li p{
    font-size: 14px;
    text-align: center;
    line-height: 26px;
}
ul li p.price{
    color: #ff6700;
}
ul li button{
    display: block;
    margin: 10px auto;
}
.count{
    width: 100px;
    height: 120px;
    background-color: orange;
    position: absolute;
    right: 0;
    top: 300px;
    font-size: 14px;
    text-align: center;
    line-height: 100px;
}
.count span{
    color: red;
    font-weight: bold;
    margin: 2px;
}

.hide{
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}